package com.wangsong.service;

import java.util.List;

import javax.annotation.Resource;
import javax.jms.JMSException;
import javax.jms.Queue;
import javax.jms.Topic;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.core.JmsTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wangsong.model.User;



@Service("mmessageService")
public class MMessageServiceImpl {
	
	

	 public void receive(User personInfo) throws JMSException {
	        System.out.println();
	        System.out.println("【消费者QueueReceiver3】收到queue的消息—->personInfo的用户名是:"  + personInfo.getName());
	        
	    }
  
}
